#ifndef __motor_status_
#define __motor_status_
#include "hal_uart.h"
#include "HAL_device.h" // Device header
#include "hal_gpio.h"
//#include "Whole_Motor_Structure.h"
#include "hal_rcc.h"
#include "Whole_Motor_Parameters.h"
//#include "Sin_table.h"
#include <stdio.h>

typedef struct
{
    char u_pole_status;
    char v_pole_status;
    char w_pole_status;

} pole_status;

typedef struct
{
    pole_status pole_status;
} motor;

void motor_init(void);
#endif
